
import numpy as np
def main():
    A = np.array([1, 2, 3, 4 ])
    print(np.ndim(A))
    print(A.shape)

    chenfa()


def chenfa():
    X = np.array([1,2])
    W = np.array([[1,3,5], [2,4,6]])
    Y = np.dot(X,W)
    print(Y)
    print(np.ndim(Y))
    print(Y.shape)

if __name__ == "__main__":
    main()